package com.ruoyi.law.domain.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.ruoyi.common.core.domain.SortBaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 咨询和服务
 * </p>
 *
 * @author code
 * @since 2022-11-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "LawService对象", description = "咨询和服务")
public class LawService extends SortBaseEntity {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id")
    private Long id;

    @ApiModelProperty(value = "封面图片")
    private String pic;

    @ApiModelProperty(value = "详情，富文本")
    private String content;

    @ApiModelProperty(value = "vip折扣")
    private Integer vip;

    @ApiModelProperty(value = "律师获得比例")
    private Integer lawyer;

    @ApiModelProperty(value = "0:下架，1:上架")
    private String state;

    @ApiModelProperty(value = "简介")
    private String info;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "服务价格")
    private BigDecimal price;

    @ApiModelProperty(value = "自动匹配的律师id")
    private Long autoId;

    @ApiModelProperty(value = "服务状态：0:不垫资，1:垫资")
    private Integer status;

    @ApiModelProperty(value = "svip折扣")
    private Integer svip;

    @ApiModelProperty(value = "一级分销比例")
    private Integer yi;

    @ApiModelProperty(value = "二级分销比例")
    private Integer er;

    @ApiModelProperty(value = "一级固定奖金")
    private BigDecimal yiGu;

    @ApiModelProperty(value = "二级固定奖金")
    private BigDecimal erGu;

    @ApiModelProperty(value = "普通会员价格")
    private BigDecimal priceNo;

    @ApiModelProperty(value = "中级会员价")
    private BigDecimal priceVip;

    @ApiModelProperty(value = "高级会员价")
    private BigDecimal priceSvip;

    @ApiModelProperty(value = "服务类型（1.咨询 2.服务）")
    private String type;

}
